#ifndef ISD1820_H
#define ISD1820_H

#include <Arduino.h>

class ISD1820 {
public:
    ISD1820(uint8_t ftPin, uint8_t playLPin, uint8_t playEPin, uint8_t recPin);
    void begin();
    void play(uint8_t startAddr, uint8_t endAddr);
    void record(uint8_t startAddr);

private:
    uint8_t ftPin;
    uint8_t playLPin;
    uint8_t playEPin;
    uint8_t recPin;
};

#endif // ISD1820_H